<?php

class GedController extends Zend_Controller_Action
{
    protected $_config;
    protected $_db;

    public function init()
    {
        $this->_helper->Feeder->init();
        $bootstrap = $this->getInvokeArg('bootstrap');
        $this->_config = $bootstrap->getOptions();
    }
    
    public function indexAction()
    {
        setvar('idUser', getoption('authUser')->id_user);
        setvar('idPartner', getoption('authUser')->id_partner);
        setvar('key', WZ_Utils::makeKey(getoption('authUser')->id_user . getoption('authUser')->id_partner));
        WZ_Utils::title('Gestion des documents');
        WZ_Utils::template(true);
    }
}